#ifndef IKERNEL_H
#define IKERNEL_H
#include"packdef.h"
#include"../select/INet.h"
class IKernel
{
public:
    IKernel() {

    }
    virtual ~IKernel(){


    }
public:
    virtual bool open(const char*szip="127.0.0.1",short nport =1234)=0;
    virtual void close()=0;
    virtual void dealDate(SOCKET sock,const char*szbuf)=0;
};
#endif // IKERNEL_H
